package com.usaas.search.controller.app.welfare;

import com.usaas.common.core.controller.BaseController;
import com.usaas.common.core.domain.AjaxResult;
import com.usaas.search.dto.AppPlatWelfareDto;
import com.usaas.search.service.app.AppPlatWelfareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 福利通知
 *
 * @author Helios
 * @date 2024-08-14
 */
@RestController
@RequestMapping("/app/search/platWelfare")
public class AppPlatWelfareController extends BaseController {

    @Autowired
    private AppPlatWelfareService appPlatWelfareService;


    /**
     * 福利通知
     */
    @PostMapping("/platWelfareList" )
    public AjaxResult platWelfareList(@RequestBody AppPlatWelfareDto dto) {
        return appPlatWelfareService.platWelfareList(dto);
    }

}
